package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.Employee;
import com.ruoyi.business.domain.bo.EmployeeBo;
import com.ruoyi.business.domain.vo.EmployeeVo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.mapper.BaseMapperPlus;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 员工Mapper接口
 *
 * @author ruoyi
 * @date 2023-06-21
 */
public interface EmployeeMapper extends BaseMapperPlus<EmployeeMapper, Employee, EmployeeVo> {

       List<EmployeeVo> getEmployeeList(Map Mapparams);

       Integer getEmployeeListCount(Map Mapparams);


    List<EmployeeVo> ContractExpirationReminder(EmployeeVo query);

    /**
     * 退休年龄提醒，男60周岁，女50周岁提醒。
     */
    List<EmployeeVo> retirementReminder(EmployeeVo query);
}
